package common

import (
	"database/sql"
	"github.com/spf13/viper"
)

type Conf struct {
	DbUser        string
	DbPass        string
	DbHost        string
	DbPort        float64
	DbName        string
	DbMaxIdleConn float64
	DbMaxOpenConn float64
	Port          string
}

// 公用变量
var (
	C    Conf
	vper *viper.Viper
	DB   *sql.DB
	Token string
)

